<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html>
<head>
<title>今日看板</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Refresh" content="<php>if(C('TODAY_REFRESH_TIME')){echo (int)C('TODAY_REFRESH_TIME') * 60;}else{echo '1800';}</php>;URL={:U('Index/today')}">
<include file="Public:header" />
<style type="text/css">
	li {height:25px; line-height:25px;}
</style>
</head>
<body>

	<div class="demo-info space-out-5px">
		<div class="demo-tip icon-tip"></div>
		<div>今日看板自动刷新间隔时间为：<php>if(C('TODAY_REFRESH_TIME')){echo C('TODAY_REFRESH_TIME');}else{echo '30';}</php>分钟
		<a href="{:U('Index/today')}" class="easyui-linkbutton" iconCls="icon-reload">手动刷新本页</a></div>
	</div>
	
	<div style="width:100%; clear:both;">
			<div style="margin:5px 10px 5px 5px; width:45%; float:left;">
					<fieldset style="border:1px dashed #ff9966; padding:15px; min-height:150px;"><legend><h3>今日销售业绩</h3></legend>
					<li>销售总量：{$info_so.qty|get_round=###} &nbsp;&nbsp;<a href="javascript:;" onclick="parent.addTab('销售单','{:U('Sales/so_list')}');">查看销售列表</a> - <a href="javascript:;" onclick="parent.addTab('销售单','{:U('Sales/so_add')}');">新增销售单</a></li>
					<li>销售总额：{$info_so.amount2|get_round=###} (金额含税)</li>
					<li>退货总量：{$info_rnc.qty|get_round=###} &nbsp;&nbsp;<a href="javascript:;" onclick="parent.addTab('销售退货单','{:U('Sales/rnc_list')}');">查看退货列表</a> - <a href="javascript:;" onclick="parent.addTab('销售退货单','{:U('Sales/rnc_add')}');">新增退货单</a></li>
					<li>退货总额：{$info_rnc.amount2|get_round=###} (金额含税)</li>
					</fieldset>
			</div>
			<div style="margin:5px 10px 5px 5px; width:45%; float:left;">
					<fieldset style="border:1px dashed #ff9966; padding:15px; min-height:150px;"><legend><h3>今日进货情况</h3></legend>
					<li>采购总量：{$info_po.qty|get_round=###} &nbsp;&nbsp;<a href="javascript:;" onclick="parent.addTab('采购单','{:U('Purchasing/po_list')}');">查看采购列表</a> - <a href="javascript:;" onclick="parent.addTab('采购单','{:U('Purchasing/po_add')}');">新增采购单</a></li>
					<li>采购总额：{$info_po.amount2|get_round=###} (金额含税)</li>
					<li>退货总量：{$info_rns.qty|get_round=###} &nbsp;&nbsp;<a href="javascript:;" onclick="parent.addTab('采购退货单','{:U('Purchasing/rns_list')}');">查看退货列表</a> - <a href="javascript:;" onclick="parent.addTab('采购退货单','{:U('Purchasing/rns_add')}');">新增退货单</a></li>
					<li>退货总额：{$info_rns.amount2|get_round=###} (金额含税)</li>
					</fieldset>
			</div>
			
			<div style="width:100%; clear:both;"></div>
			
			<div style="margin:5px 10px 5px 5px; width:45%; float:left;">
					<fieldset style="border:1px dashed #ff9966; padding:15px; min-height:150px;"><legend><h3>财务概览</h3></legend>
					<volist id="info_acc" name="info_acc">
					<li>{$info_acc.acc_title}：{$info_acc.acc_closing|get_round=###}</li>
					</volist>
					</fieldset>
			</div>
			<div style="margin:5px 10px 5px 5px; width:45%; float:left;">
					<fieldset style="border:1px dashed #ff9966; padding:15px; min-height:150px;"><legend><h3>库存结余情况</h3></legend>
					<li>库存数量：{$info_stk.open_qty|get_round=###} &nbsp;&nbsp;<a href="javascript:;" onclick="parent.addTab('库存查询','{:U('Warehouse/stk_search')}');">查看库存</a> - <a href="javascript:;" onclick="parent.addTab('库存明细','{:U('Warehouse/stk_detail')}');">库存分布明细</a></li>
					<li>库存价值：{$info_stk.open_amount|get_round=###}</li>
					<li>下限报警：{$info_stk_min|get_round=###} &nbsp;&nbsp;<a href="javascript:;" onclick="parent.addTab('查看报警明细','{:U('Warehouse/stk_qtylow')}');">查看报警明细</a></li>
					<li>上限报警：{$info_stk_max|get_round=###} &nbsp;&nbsp;<a href="javascript:;" onclick="parent.addTab('查看报警明细','{:U('Warehouse/stk_qtyhigh')}');">查看报警明细</a></li>
					</fieldset>
			</div>
			
			<div style="width:100%; clear:both;"></div>
	</div>

</body>
</html>